<template>
  <div>
    父页面
    <Child ref="child"></Child>
  </div>
</template>

<script>
import Child from '@/components/Child.vue'
export default {
  name: 'Father',
  components: {
    Child
  },
  data () {
    return {

    }
  },
  mounted () {
    console.log(this.$refs.child)
  },
  methods: {
  }
}
</script>

<style scoped lang="scss">

</style>
